package com.gjt.zyglxt.dto;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import lombok.Data;

/**
 * MemberDTO
 */
@Data
@Component
public class MemberDTO {

    private String category;//根据身份查询
    private String department;
    private String profession;
    private String grade;

    private String cardNo;//根据卡号查询
    private String name;//根据姓名模糊查询
    private String phone;//根据手机号查询
    //根据时间区间查询
    //根据入会日期查询
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startDate;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDate;
    private Integer status;//根据状态查询

    //分页
    private Integer page;
    private Integer limit;
}